package com.ruoyi.teacher.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 老师日报对象 t_exception
 * 
 * @author ruoyi
 * @date 2022-12-24
 */
public class TException extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 教师名字 */
    @Excel(name = "教师名字")
    private String teacherName;

    /** 日报时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日报时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date paperTime;

    /** 备注 */
    @Excel(name = "备注")
    private String intro;

    private Long teacherId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTeacherName(String teacherName) 
    {
        this.teacherName = teacherName;
    }

    public String getTeacherName() 
    {
        return teacherName;
    }
    public void setPaperTime(Date paperTime) 
    {
        this.paperTime = paperTime;
    }

    public Date getPaperTime() 
    {
        return paperTime;
    }
    public void setIntro(String intro) 
    {
        this.intro = intro;
    }

    public String getIntro() 
    {
        return intro;
    }

    public Long getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Long teacherId) {
        this.teacherId = teacherId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("teacherName", getTeacherName())
            .append("paperTime", getPaperTime())
            .append("intro", getIntro())
            .append("createTime", getCreateTime())
                .append("teacherId",getTeacherId())
            .toString();
    }
}
